package com.ihisomp.mapper;

import com.ihisomp.entity.OrgUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 用户与角色关系 Mapper 接口
 * </p>
 *
 * @author zy
 * @since 2022-04-18
 */
public interface OrgUserRoleMapper extends BaseMapper<OrgUserRole> {
    /**
     * 根据用户编码删除用户对应角色
     *
     * @param userKey
     * @return
     */
    int deleteByUserKey(String userKey);
}
